
package com.javaclimb.filmbuy.dao;

import com.javaclimb.filmbuy.entity.AdminInfo;
import com.javaclimb.filmbuy.entity.TypeInfo;
import com.javaclimb.filmbuy.vo.AdminInfoVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 电影类型信息dao层
 */
@Repository
public interface TypeInfoDao extends Mapper<TypeInfo> {
    /*根据类型名称查询电影类型列表*/
    List<TypeInfo> findByName(@Param("name")String name);
}

